﻿<UserControl xmlns:my="clr-namespace:GameBrowser"  x:Class="GameList"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <StackPanel>
                <StackPanel Name="loadingPanel" Orientation="Horizontal" HorizontalAlignment="Center" Margin="20">
                    <ProgressBar Width="50" Height="20" IsIndeterminate="True" />
                    <TextBlock VerticalAlignment="Center" Padding="10,0,0,0">Downloading games list...</TextBlock>
                </StackPanel>
                <TextBlock Name="errorBlock" HorizontalAlignment="Center" Visibility="Collapsed" Margin="10">
                    Failed to download games list
                </TextBlock>
                <StackPanel Name="stackPanel">
                </StackPanel>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</UserControl>
